package com.base.kongjian.dao;

import org.springframework.stereotype.Component;

import com.base.kongjian.entity.WorksNumCount;

@Component("worksNumCountDao")
public interface WorksNumCountDao
{
	/**
	 * 保存会员的作品分类总数
	 * @param worksNumCount
	 */
	void save(WorksNumCount worksNumCount);
	
	/**
	 * 更新
	 * @param worksNumCount
	 */
	void update(WorksNumCount worksNumCount);
	/**
	 * 通过会员ID 删除
	 * @param memberId
	 */
	void delete(long memberId);
	
	/**
	 * 通过会员ID得到作品分类总数
	 * @param memberId
	 * @return
	 */
	WorksNumCount getByMemberId(long memberId);
}
